package practice02;

import java.math.BigDecimal;

public class booleanTest {
    public static void main(String[] args) {
        Double a=0.1*3;
        Double b=0.3;
        BigDecimal a1 = new BigDecimal(0.3);

        BigDecimal b1 = new BigDecimal(0.1 * 3);
        System.out.println(b.equals(0.1*3));
        System.out.println(0.1*3);
    }
}
